{{! -------------------------------------------------------------------------- }}
{{! Copyright 2002-2023, OpenNebula Project, OpenNebula Systems                }}
{{!                                                                            }}
{{! Licensed under the Apache License, Version 2.0 (the "License"); you may    }}
{{! not use this file except in compliance with the License. You may obtain    }}
{{! a copy of the License at                                                   }}
{{!                                                                            }}
{{! http://www.apache.org/licenses/LICENSE-2.0                                 }}
{{!                                                                            }}
{{! Unless required by applicable law or agreed to in writing, software        }}
{{! distributed under the License is distributed on an "AS IS" BASIS,          }}
{{! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   }}
{{! See the License for the specific language governing permissions and        }}
{{! limitations under the License.                                             }}
{{! -------------------------------------------------------------------------- }}

<div id="{{dialogId}}" class="reveal small" data-reveal>
  <div class="row">
    <div class="large-12 columns">
      <h3 class="subheader" id="">{{tr "Rename"}}</h3>
    </div>
  </div>
  <div class="confirm-resources-header"></div>
  <div class="reveal-body">
    <form id="{{dialogId}}Form" action="">
      <div class="row">
        <div class="large-6 columns">
          <label for="disk_id">{{tr "Disk ID"}}</label>
          <input style="border-style: inset; background-color: lightgrey" type="text" name="disk_id" id="disk_id" disabled/>
        </div>
        <div class="large-6 columns snapshot_id_row">
          <label for="snapshot_id">{{tr "Snapshot ID"}}</label>
          <input style="border-style: inset; background-color: lightgrey" type="text" name="snapshot_id" id="snapshot_id" disabled/>
        </div>
      </div>
      <div class="row">
        <div class="large-12 columns">
          <label for="snapshot_new_name">{{tr "New name"}}</label>
          <input type="text" name="snapshot_new_name" id="snapshot_new_name" />
        </div>
      </div>
      <div class="form_buttons">
        <button class="button radius right success" type="submit">{{tr "Rename"}}</button>
      </div>
      <button class="close-button" data-close aria-label="{{tr "Close modal"}}" type="button">
        <span aria-hidden="true">&times;</span>
      </button>
    </form>
  </div>
</div>
